# ============================================================
#  UnPoller stack configuration
#  This file MUST sit in the same folder as docker-compose.yml
#  Do NOT use quotes. Do NOT put spaces around the = sign.
# ============================================================

# ---------- InfluxDB (v2) ----------
INFLUXDB_ADMIN_USER=unpoller
INFLUXDB_ADMIN_PASSWORD=CHANGEME_influx_password
INFLUXDB_ORG=unpoller
INFLUXDB_BUCKET=unpoller
# Generate a real token with:  openssl rand -hex 32
INFLUXDB_ADMIN_TOKEN=REPLACE_WITH_LONG_RANDOM_TOKEN

# ---------- Grafana ----------
GRAFANA_USERNAME=admin
GRAFANA_PASSWORD=CHANGEME_grafana_password

# ---------- UnPoller ----------
POLLER_TAG=latest
POLLER_DEBUG=false
# Set to true only if you enabled DPI on your controller and want per-app data
POLLER_SAVE_DPI=false

# ---------- UniFi Controller ----------
# This is the account you create ON the controller (see instructions).
UNIFI_USER=unpoller
UNIFI_PASS=CHANGEME_set_this_on_your_controller
#
# IMPORTANT: This must be the address of your UniFi CONTROLLER,
# which may or may not be the same box as your Docker host.
#
#  * UniFi OS device (UDM / UDM-Pro / UDR / UXG / CloudKey Gen2+):
#        NO port ->  https://192.168.69.180
#  * Self-hosted Network app / older CloudKey:
#        WITH port ->  https://192.168.69.180:8443
#
UNIFI_URL=https://192.168.69.180
